cc='1122233'
def max_letter_count(n):
    list4 = []
    list1 = []
    list2 = []
    for i in n:
        list3 = []
        count_max = n.count(i)
        list3.append(i)
        list3.append(count_max)
        list1.append(list3)
        list2.append(count_max)
    num=max(list2)
    for i in range(len(list2)):
        if list2[i] == num:
            list4.append(list1[i][0])
    return list(set(list4)),'字符出现最大次数为:%d' % num
print(max_letter_count(cc))